import http from "@/utlis/http/http.js"
import env from '@/utlis/env.js';

// 我的情侣或者闺蜜
export const myLove = (data) => {
    return http({
        url: '/api/auth.user/love',
        method: 'GET', //请求方法
        data 
    })
}
//获取情侣或闺蜜宣文
export const announcement = (data) => {
    return http({
        url: '/api/auth.user/announcement',
        method: 'GET', //请求方法
        data 
    })
}
//我的恋爱史或者闺蜜历
export const loveHistory = (data) => {
    return http({
        url: '/api/auth.user/loveHistory',
        method: 'GET', //请求方法
        data 
    })
}
//过往
export const getPast = (data) => {
    return http({
        url: '/api/auth.user/getPast',
        method: 'GET', //请求方法
        data 
    })
}
//获取过往文章
export const getPastList = (data) => {
    return http({
        url: '/api/auth.user/getPastList',
        method: 'POST', //请求方法
        data 
    })
}
//恋爱史上锁diy
export const onLock = (data) => {
    return http({
        url: '/api/auth.user/onLock',
        method: 'POST', //请求方法
        data 
    })
}
//申请补全
export const completion = (data) => {
    return http({
        url: '/api/auth.user/completion',
        method: 'POST', //请求方法
        data 
    })
}
//处理补全
export const agreeCompletion = (data) => {
    return http({
        url: '/api/auth.user/agreeCompletion',
        method: 'POST', //请求方法
        data 
    })
}